package com.txy.webmanagement.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

/**
 * 产品价格表
 *
 * @author wf
 * @date 2019-03-22$
 **/
@Table(name = "sys_product_price")
public class SysProductPrice  extends BaseModel {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "uuid", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String uuid;
    @Column(name = "p_product_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String pProductId;//产品Id
    @Column(name = "p_type_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String pTypeId;//产品类型
    @Column(name = "price", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String price;
    @Column(name = "enable", type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "create_time", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public String getpProductId() {
        return pProductId;
    }

    public void setpProductId(String pProductId) {
        this.pProductId = pProductId;
    }

    public String getpTypeId() {
        return pTypeId;
    }

    public void setpTypeId(String pTypeId) {
        this.pTypeId = pTypeId;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
}
